﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using F2S.LINQ2LinkedIn.Client.Services;
using F2S.LINQ2LinkedIn.Model;

namespace F2S.LINQ2LinkedIn.Client.ViewModels
{
    public class MasterViewModel : Screen
    {
        private ILinkedInService _linkedInService;
        private IEventAggregator _eventAggregator;

        public MasterViewModel(ILinkedInService linkedInService, IEventAggregator eventAggregator)
        {
            _linkedInService = linkedInService;
            _eventAggregator = eventAggregator;
        }

        async protected override void OnInitialize()
        {
            base.OnInitialize();

            var updates = await _linkedInService.GetNetworkUpdates(networkUpdateTypes: NetworkUpdateTypes.Viral);
        }

        protected override void OnActivate()
        {
            base.OnActivate();
        }
    }
}
